package org.duiduo.result;

/**
 * @Description 返回结果类
 * @Author lengshuangze
 * @Date 2020/11/20 19:33
 * @Version 1.0
 */
public class ResultData {
    public Boolean respStatus = true;
    public String respMessage = "完成！";
    public Object data = null;

    public Boolean getRespStatus() {
        return respStatus;
    }

    public void setRespStatus(Boolean respStatus) {
        this.respStatus = respStatus;
    }

    public String getRespMessage() {
        return respMessage;
    }

    public void setRespMessage(String respMessage) {
        this.respMessage = respMessage;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public ResultData(Boolean respStatus, String respMessage, Object data) {
        this.respStatus = respStatus;
        this.respMessage = respMessage;
        this.data = data;
    }

    public ResultData(Boolean respStatus, String respMessage) {
        this.respStatus = respStatus;
        this.respMessage = respMessage;
    }

    public ResultData() {
        super();
    }

    @Override
    public String toString() {
        return "ResultData{" +
                "respStatus=" + respStatus +
                ", respMessage='" + respMessage + '\'' +
                ", data=" + data +
                '}';
    }
}
